axios.interceptors.request.use(config => {
    var token = $.cookie('ACCESS_TOKEN');
    if (token && token.length >= 0){
        config.headers['Authorization'] = "bearer "+token;
    }
    return config
}, error => {
    Promise.reject(error)
})